<template>
	<view class="">
		<view v-for="(item,index) in dataList" :key="index">
			<text>item.name</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: []
			}
		},
		methods:{
			
		},
		onLoad() {
			uni.request({
				url: this.$apiServer+'api/services/app/Reservation/GetAll',
				method: 'GET',
				data: {},
				success: res => {
					if(res.data.success==true){
						this.dataList=res.data.result;
					}				
				},
				fail: () => {},
				complete: () => {}
			});
		}
	}
</script>

<style>
</style>
